/*
 * Copyright (c) 2016, www.zm0618.com All Rights Reserved..
 */

package com.ibetter.mr.medic.meeting;

import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.lib.input.FileSplit;

import java.io.IOException;

/**
 * Created by zhaojun on 2016/12/29.
 */
public class MeetingUser3Mapper extends Mapper<LongWritable,Text,Text,IntWritable>{

    @Override
    protected void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException {

        //武汉1
        //环亚2  zm_coraic_conference_member
        //刘辅容3
        FileSplit fileSplit= (FileSplit) context.getInputSplit();
        Path path = fileSplit.getPath();
        path.toString();
    }
}



